from django.contrib import admin
from .models import common_user as User

class UserAdmin(admin.ModelAdmin):
    list_display = ('id', 'name','email', 'sex','c_time','status','is_admin')#显示属性
    list_display_links = ('name',)#设置超链接
    search_fields = ( 'name','email','sex','c_time')
admin.site.register(User, UserAdmin)

# Register your models here.
